<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<Icms.Core.Model.Message>>" %>
<%foreach (var o in Model)
  {%>
<tr id='o<%=o.Id%>'>
    <td>
        <%if (!o.IsRead)
          {%><b><%}%>
            <%=o.Subject%>
            <%if (!o.IsRead)
              {%></b><%}%>
    </td>
    <td>
        <%=o.DateSent %>
    </td>
    <td>
        <%=Html.PopupActionLink("read","citeste", new object[]{o.Id}, new{@class= "abtn"}) %>
    </td>
</tr>
<%
  }%>